<%@page import="com.mmy.domain.car.TCarPlan"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/includeb.jsp"></jsp:include>
<title>车计划信息</title>
</head>
<body>
	<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/BackHeader.jsp"></jsp:include>
			<main class="at-padding-large-bottom">
			<article>		
	<header class="bg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
		<div class="page-header container">
			<h2>车计划信息</h2>			
		</div>
	</header>
	<section class="container">
	

			<div>
				<a href="carorg" >车公司信息</a> | 
				<a href="cartype" >车型信息</a> | 
				<a href="carbase" >车辆信息</a> | 
				<a href="carplan" >车辆计划</a> 
				<hr style="FILTER: alpha(opacity=100,finishopacity=0,style=3); margin: 15px; " width=100%; color=#F9F6E5 SIZE=3></h>
				
				<form action="searchcarplan" class="info-form" >
						<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i>车计划信息管理
						</h4>
				<div >
				
				<input type="button" value="删除" class="btn at-float-right" onclick="delCarPlan()">	
				<input type="button" value="修改" class="btn at-float-right" onclick="updateCarPlan()"> 
				<input type="button" class="btn at-float-right" value="新增" onclick="location.href='createcarplan'">
				车牌号 ：
				<select class="input-select-vlign" name="CarID" style="bottom:10px">
								<option style="display: none;" value="">请选择</option>
							<c:forEach var="co" items="${carbaselist}">
								<option value="${co.getCarID()}">${co.getCarNum()}</option>
							</c:forEach>	
				</select>
				<input type="submit" value="搜索" class="btn"/>	
				<table class="info-table" >
					<tr>
						<th>
							<input type="checkbox" id="ckall" name="ckall" onclick="ckAll(this);">
						</th>
						<th>开始日期</th>			
						<th>结束日期</th>			
						<th>租赁底价</th>			
						<th>租赁同业价</th>			
						<th>对外报价</th>			
						<th>备注</th>			
					</tr>
					<c:forEach var="co" items="${carplanlist}">
					<tr>
						<td>
							<input type="checkbox" name="ckone" value="${co.getPlanID()}" onclick="ckOne(this)">
						</td>
						<td>
						<fmt:formatDate value='${co.getStartDate()}' pattern='yyyy-MM-dd'/>
						</td>
						<td>
						<fmt:formatDate value='${co.getEndDate()}' pattern='yyyy-MM-dd'/>
						</td>
						<td>${co.getFloor()}</td>
						<td>${co.getPeer()}</td>
						<td>${co.getPrice()}</td>
						<td>${co.getMemo()}</td>
					</tr>
				</c:forEach>
					
				</table>
				<select>
								<option>10</option>
								<option>5</option>
								<option>2</option>
							</select>
							<span>
								 条   共1条 1/1
							</span>
							<span class="page-span">
								1 转到<input type="text" class="input-width3"/>
								页 <input type="button" class="btn" value="GO"  />
							</span>	
				</div>
				</form>
			</div>
			</section>
			</article>
			</main>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
		</div>
<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>
</body>

</html>